<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>RW2-2</title>
    <style type="text/css">
        div{width: 50px;height: 50px;background-color: cornflowerblue}
        div[title] { background-color: pink;}
        div[title="demo"] { background-color: red;}
        div[title^="demo"] {width:100px;height: 100px;}
        div[title^="zh"] {width:150px;height: 150px; background-color: aquamarine}
    </style>
</head>
<body>
<div></div>
<div title="t1"></div>
<div></div>
<div title="zh"></div>
<div></div>
<div title="demo"></div>
<div></div>
<div title="demo2"></div>
<div></div>
<div title="zh2"></div>
</body>
</html>